﻿namespace AlgLrn
{
    class SortThreadData
    {
        #region Private Fields
        private int[] _numbers;
        private int _sortingType;
        private bool _sortAscending;
        #endregion

        #region Constructors
        public SortThreadData()
            : this(null, -1, true)
        {
        }

        public SortThreadData(int[] numbers, int sortingType, bool sortAscending)
        {
            _numbers = numbers;
            _sortingType = sortingType;
            _sortAscending = sortAscending;
        }
        #endregion

        #region Public Properties
        public int[] Numbers
        {
            get
            {
                return _numbers;
            }
        }

        public int SortingType
        {
            get
            {
                return _sortingType;
            }
        }

        public bool SortAscending
        {
            get
            {
                return _sortAscending;
            }
        }
        #endregion
    }
}
